﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;

namespace Oroboros.Save_Data
{
    [XmlRootAttribute(ElementName="ZombieClock", IsNullable=false)]
    public class ZombieClockSaveData
    {
        private bool _IsPaused;
        public long Time;

        [XmlIgnore]
        public DateTime Clock
        {
            get
            {
                return new DateTime(Time);
            }
            set
            {
                Time = value.Ticks;
            }
        }

        public bool IsPaused
        {
            get { return _IsPaused; }
            set { _IsPaused = value; }
        }

        public ZombieClockSaveData()
        {
        }
    }
}
